package com.topfinance.cnaps2.service;

import java.util.List;

import com.topfinance.cnaps2.dto.SysOperDto;
import com.topfinance.cnaps2.ebo.SysOperEbo;
import com.topfinance.frame.exception.AppException;

public interface ISysOperManager extends IBaseManager{

	//获得操作
	public SysOperEbo getOper(Integer id) throws AppException;

	//增加操作
	public void addOper(SysOperEbo o) throws AppException;
	public void addOper(SysOperDto o) throws AppException;

	//删除操作
	public void deleteOper(SysOperEbo o) throws AppException;
	public void deleteOper(Integer id) throws AppException;

	//编辑操作
	public void editOper(SysOperDto o) throws AppException;

	//获得操作列表
	public List getAllOperList() throws AppException;
	
	//获得用户操作列表
	public List getUserOperList(String uid) throws AppException;
	
	// 修改用户操作列表，最终体现在权限表中
	public void modifyUserOper(String uid,String fids,String enables) throws AppException;
}